package com.groupbuying.cheetah.service;
import com.groupbuying.cheetah.domain.CheetahTmpOrderFlowDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author WANGNING
 * @email wyn20140226@aliyun.com
 * @date 2019-09-19 15:38:34
 * @des
 */

public interface CheetahTmpOrderFlowService {

	CheetahTmpOrderFlowDO get(String orderType);
	
	List<CheetahTmpOrderFlowDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CheetahTmpOrderFlowDO tmpOrderFlow);
	
	int update(CheetahTmpOrderFlowDO tmpOrderFlow);
	
	int remove(String orderType);
	
	int batchRemove(String[] orderTypes);

	int saveList(List<CheetahTmpOrderFlowDO>  cheetahTmpOrderFlowList);

	List<CheetahTmpOrderFlowDO> getCheetahTmpOrderFlowList(String orderId);
}
